<style lang='scss' type='stylesheet/scss' scoped>
.as-input {
  margin-bottom: 10px;
}
</style>
<template>
  <as-card :text="text"
           title="传入 title 和 content 即可展示内容。">
    <as-popover title="提示" content="这是一个提交按钮">
      <as-button type="primary">提交</as-button>
    </as-popover>
  </as-card>
</template>

<script type="text/ecmascript-6">
import { mapGetters } from "vuex";
export default {
  name: "",
  computed: {
    ...mapGetters(["isMobile"])
  },
  data() {
    return {
      name: "",
      text: `<template>
   <as-popover title="提示" content="这是一个提交按钮">
     <as-button type="primary">提交</as-button>
   </as-popover>
 </template>`
    };
  },
  methods: {
  }
};
</script>
